home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / DB_CLIPP / 1159.ZIP / ISR.BAT < prev    next >
DOS Batch File  |  1987-06-08  |  4KB  |  102 lines

  1. ECHO OFF
  2. CLS
  3. IF "%1"=="" GOTO HELP
  4. PATH \;%1
  5. CD \ISR-20
  6. IF NOT EXIST PUB_DOM.AIN GOTO TVA
  7. CD \
  8. ECHO              This program is a work of the Tennessee Valley
  9. ECHO              Authority (TVA), U.S. Government, and is in
  10. ECHO              the public domain.
  11. ECHO .
  12. ECHO TVA MAKES NO REPRESENTATION OR WARRENTY OF ANY KIND WHATSOEVER, 
  13. ECHO INCLUDING, BUT NOT LIMITED TO, REPRESENTATIONS OR WARRENTIES, 
  14. ECHO EXPRESSED OR IMPLIED, OF MERCHANTABILITY, FITNESS FOR SPECIFIC 
  15. ECHO USE OR PURPOSE, accuracy or completeness of processes, 
  16. ECHO procedures, designs, definitions, instructions, information, or 
  17. ECHO functioning of the program(s) and related material; TVA further 
  18. ECHO expressly disclaims any knowledge or purpose for which the 
  19. ECHO program(s) may be utilized or its applicability for such use, 
  20. ECHO nor shall the fact of making it available constitute any such 
  21. ECHO representation, warranty, or knowledge, nor does TVA assume any 
  22. ECHO liability, responsibility, or obligation arising from the use or 
  23. ECHO malfunctioning of the computer program(s) or related materials.
  24. ECHO .
  25. PAUSE
  26. CLS
  27. GOTO TVA1
  28. :TVA
  29. ECHO If there is a question directly below, just press the RETURN key.
  30. IF NOT "%2"=="" GOTO USERD
  31. ECHO .
  32. ECHO .
  33. MSPOOL2 1 1
  34. CLS
  35. ECHO .
  36. ECHO The print spooler program MSPOOL2.COM was found to exist in this system.
  37. ECHO Since this system was found to have within it the program MSPOOL2.COM
  38. ECHO (which it uses as a printer spooler, this is the TVA version of ISR-20, and
  39. ECHO this system is, therefore, not in public domain.  Otherwise, it would
  40. ECHO be in public domain.
  41. ECHO .
  42. ECHO A printer buffer of 7K has been installed within computer memory
  43. ECHO if the buffer size has not been set previously since the last time
  44. ECHO DOS was booted.
  45. GOTO DEFT
  46. :USERD
  47. IF "%2"=="9" GOTO USERE
  48. IF "%2"=="8" GOTO USERE
  49. IF "%2"=="7" GOTO USERE
  50. IF "%2"=="6" GOTO USERE
  51. IF "%2"=="5" GOTO USERE
  52. IF "%2"=="4" GOTO USERE
  53. IF "%2"=="3" GOTO USERE
  54. IF "%2"=="2" GOTO USERE
  55. IF "%2"=="1" GOTO USERE
  56. GOTO HELP
  57. :USERE
  58. ECHO .
  59. ECHO .
  60. MSPOOL2 1 %2
  61. CLS
  62. ECHO A printer buffer of %2 * 7K has been installed within computer memory
  63. ECHO if the buffer size has not been set previously since the last time
  64. ECHO DOS was booted.
  65. :DEFT
  66. ECHO .
  67. :TVA1
  68. ECHO Please press the RETURN key once more, if you wish, to automate
  69. ECHO system loading (if you are using the dBASE III Plus operating system).
  70. CD \ISR-20
  71. IF EXIST ISR.EXE GOTO START2
  72. DBASE
  73. CLS
  74. CD \
  75. GOTO END
  76. :START2
  77. ISR.EXE
  78. CLS
  79. GOTO END
  80. :HELP
  81. CLS
  82. CD\
  83. ECHO To access the ISR-20 system of data bases, you should type "ISR"
  84. ECHO followed by a space and then the PATH and the name of the 
  85. ECHO DIRECTORY containing your copy of dBASE III Plus.  If you wish to
  86. ECHO install within your computer memory a buffer greater than 7K, you
  87. ECHO should type the number of multiples of 7K which you desire for
  88. ECHO your printer buffer after the PATH and the name of the DIRECTORY
  89. ECHO containing your copy of dBASE III Plus.  For example, if you wish
  90. ECHO to install 9 * 7K (or 63K) of printer buffer within your computer
  91. ECHO memory, and if the PATH and the name of the DIRECTORY containing
  92. ECHO your copy of dBASE III Plus is "\DBASE", then the proper command
  93. ECHO would be:
  94. ECHO                        ISR \DBASE 9
  95.  
  96. ECHO For the compiled version it is "ISR \".
  97. ECHO .
  98. ECHO After the size of the buffer is set, it may not be set again until
  99. ECHO DOS is rebooted.  The printer buffer is NOT available for the public
  100. ECHO domain version.
  101. :END
  102.